package com.cloudcentral;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * Create by Administrator
 * 2023/11/9 14:53
 */
@EnableFeignClients
@EnableDiscoveryClient
@SpringBootApplication
@EnableTransactionManagement
@MapperScan("com.cloudcentral.mapper")
public class SecurityApplication {
  public static void main(String[] args) {
    // System.out.println(new BCryptPasswordEncoder().encode("root"));
    // $2a$10$c6mP3iq/DMI/1Tc.6ovv8OErjLMnfgydUty/PWKwsXVF.1kP4jfZu
    // System.out.println(new BCryptPasswordEncoder().encode("cloudcentral"));
    // $2a$10$JTz617KBkiAos10eC1YHa.dK5RtG.mG3dnOkSqytVfcz8JvS.ACXi
    SpringApplication.run(SecurityApplication.class, args);
  }
}